const clubManagement = [
  {
    path: 'clubManagement',
    component: () => import(/* webpackChunkName: "platform" */ '@/layout/platform'),
    name: 'ClubManagement',
    meta: { title: 'clubManagement', code: 'ClubManagement', icon: 'el-icon-message' },
    children: [
      {
        path: 'pageList',
        // name: 'PageList',
        component: () => import(/* webpackChunkName: "platform" */ '@/views/clubManagement/pageList/index'),
        meta: { title: 'pageList', code: 'PageList', icon: 'el-icon-message' },
        children: [
          {
            path: '',
            name: 'PageList',
            component: () => import(/* webpackChunkName: "platform" */ '@/views/clubManagement/pageList/pageList'),
            meta: { title: 'pageList', code: 'PageList', icon: 'el-icon-message' }
          },
          {
            path: 'addClub',
            name: 'AddClub',
            component: () => import(/* webpackChunkName: "platform" */ '@/views/clubManagement/pageList/addClub'),
            meta: { title: 'addClub', code: 'AddClub', icon: 'el-icon-message' },
            hidden: true
          }
        ]
      },
      {
        path: 'service',
        // name: 'Service',
        redirect: { name: 'SubscribeList' },
        component: () => import(/* webpackChunkName: "platform" */ '@/views/clubManagement/service/index'),
        meta: { title: 'service', code: 'Service', icon: 'el-icon-message' },
        children: [
          {
            path: 'subscribeList',
            name: 'SubscribeList',
            component: () => import(/* webpackChunkName: "platform" */ '@/views/clubManagement/service/subscribeList'),
            meta: { title: 'subscribeList', code: 'SubscribeList', icon: 'el-icon-message' }
          },
          {
            path: 'serviceCenter',
            name: 'ServiceCenter',
            component: () => import(/* webpackChunkName: "platform" */ '@/views/clubManagement/service/serviceCenter'),
            meta: { title: 'serviceCenter', code: 'ServiceCenter', icon: 'el-icon-message' }
          },
          {
            path: 'diy',
            name: 'Diy',
            component: () => import(/* webpackChunkName: "platform" */ '@/views/clubManagement/service/diy'),
            meta: { title: 'diy', code: 'Diy', icon: 'el-icon-message' }
          }
        ]
      }
    ]
  }
];

export default [
  ...clubManagement
];
